widget: Remove gtk_widget_set_redraw_on_alloc
authorTimm Bäder <mail@baedert.org>
Wed, 9 Aug 2017 14:26:26 +0000 (16:26 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 9 Aug 2017 14:26:26 +0000 (16:26 +0200)
commita8a755e5cddc0f1736cc198301088310a6e26627
tree4f8f78501f11a79c45e1f47980d6c36124ebd1e0
parent5874a30c738397f88efd92199c79eff81a7bdd2a
widget: Remove gtk_widget_set_redraw_on_alloc

Since gtk+ draws more than the widget and allocates more size to it than
it knows about, this flag doesn't work anymore. Removing it (or setting
it to TRUE for widgets that used to set it to FALSE) fixes drawing
invalidation when these widgets get allocated a new size.
17 files changed:
docs/reference/gtk/gtk4-sections.txt
gtk/gtkbox.c
gtk/gtkflowbox.c
gtk/gtkgrid.c
gtk/gtkheaderbar.c
gtk/gtkinfobar.c
gtk/gtklistbox.c
gtk/gtkpathbar.c
gtk/gtkrevealer.c
gtk/gtkstatusbar.c
gtk/gtktextview.c
gtk/gtktoolitemgroup.c
gtk/gtktreeview.c
gtk/gtkviewport.c
gtk/gtkwidget.c
gtk/gtkwidget.h
gtk/gtkwidgetprivate.h